package com.tms.domain;

import java.util.Date;

/**
 * 使用记录表单类
 *
 * @author sxy
 */
public class UseRecord {

    public UseRecord() {
    }

    public UseRecord(ProductLine productLine, Staff staff, User recorder, Tool tool, Date time, Location location, Status status, int mask) {
        this.productLine = productLine;
        this.staff = staff;
        this.recorder = recorder;
        this.tool = tool;
        this.time = time;
        this.location = location;
        this.status = status;
        this.mask = mask;
    }

    public UseRecord(int id, ProductLine productLine, Staff staff, User recorder, Tool tool, Date time, Location location, Status status, int mask) {
        this.id = id;
        this.productLine = productLine;
        this.staff = staff;
        this.recorder = recorder;
        this.tool = tool;
        this.time = time;
        this.location = location;
        this.status = status;
        this.mask = mask;
    }

    private int id;

    private ProductLine productLine;

    private Staff staff;

    private User recorder;

    private Tool tool;

    private Date time;

    private Location location;

    private Status status;

    private int mask;

    public int getMask() {
        return mask;
    }

    public void setMask(int mask) {
        this.mask = mask;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public ProductLine getProductLine() {
        return productLine;
    }

    public void setProductLine(ProductLine productLine) {
        this.productLine = productLine;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public User getRecorder() {
        return recorder;
    }

    public void setRecorder(User recorder) {
        this.recorder = recorder;
    }

    public Tool getTool() {
        return tool;
    }

    public void setTool(Tool tool) {
        this.tool = tool;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }
}